package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel(value = "设备类型对象", description = "设备类型")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("patrol_equip_info")
public class EquipInfoBean extends Model<EquipInfoBean> {

    @TableId(value = "obj_id")
    private String objId;

    @ApiModelProperty(value = "资源ID")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String psrId;

    @ApiModelProperty(value = "资产ID")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String astId;

    @ApiModelProperty(value = "运维单位ID")
    private String maintainerId;

    @ApiModelProperty(value = "运维单位名称")
    private String maintainerName;

    @ApiModelProperty(value = "运维班组ID")
    private String creatorCrewId;

    @ApiModelProperty(value = "运维班组名称")
    private String creatorCrewName;

    @ApiModelProperty(value = "设备主人")
    private String equipmentOwner;

    @ApiModelProperty(value = "所属厂站")
    private String stationId;

    @ApiModelProperty(value = "所属区域")
    private String areaId;

    @ApiModelProperty(value = "所属间隔")
    private String bayId;

    @ApiModelProperty(value = "设备类型")
    private String equipType;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "所属主设备ID")
    private String mainEquipId;

    @ApiModelProperty(value = "设备编码")
    private String equipCode;

    @ApiModelProperty(value = "实物ID")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String utcNum;

    @ApiModelProperty(value = "投运日期")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String startTime;

    @ApiModelProperty(value = "退运日期")
    private String stopTime;

    @ApiModelProperty(value = "设备型号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String model;

    @ApiModelProperty(value = "电压等级")
    private String voltageLevel;

    @ApiModelProperty(value = "相别")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String phase;

    @ApiModelProperty(value = "生产厂家")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String manufacturer;

    @ApiModelProperty(value = "运行状态")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String psrState;

    @ApiModelProperty(value = "是否是gis")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String isGis;

    @ApiModelProperty(value = "是否启用，0为false,1为true")
    private String enable;

    @ApiModelProperty(value = "备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;

    @ApiModelProperty(value = "设备分类")
    private String type;

    @ApiModelProperty(value = "是否已删除，0为false，1为true")
    private String deleteState;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人员ID")
    @TableField(fill = FieldFill.INSERT)
    private String createUserId;

    @ApiModelProperty(value = "创建人员姓名")
    @TableField(fill = FieldFill.INSERT)
    private String createUserName;

    @ApiModelProperty(value = "最新更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "更新人员ID")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUserId;

    @ApiModelProperty(value = "更新人员姓名")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUserName;

}
